home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-05-25 | 1.3 KB | 60 lines |
- # From Thinking in C++, 2nd Edition
- # At http://www.BruceEckel.com
- # (c) Bruce Eckel 1999
- # Copyright notice in Copyright.txt
- # Automatically-generated MAKEFILE
- # For examples in directory C07
- # using the all compiler
- # Note: does not make files that will
- # not compile with this compiler
- # Invoke with: make -f all.makefile
-
- .SUFFIXES : .obj .cpp .c
- .cpp.obj :
- $(CPP) $(CPPFLAGS) -c $<
- .c.obj :
- $(CPP) $(CPPFLAGS) -c $<
-
- all: \
- Use.exe \
- Stash3Test.exe \
- UnionClass.exe \
- SuperVar.exe \
- MemTest.exe
-
- test: all
- Use.exe
- Stash3Test.exe
- UnionClass.exe
- SuperVar.exe
- MemTest.exe
-
- bugs:
- @echo No compiler bugs in this directory!
-
- Use.exe: Use.obj Def.obj
- $(CPP) $(OFLAG)Use.exe Use.obj Def.obj
-
- Stash3Test.exe: Stash3Test.obj Stash3.obj
- $(CPP) $(OFLAG)Stash3Test.exe Stash3Test.obj Stash3.obj
-
- UnionClass.exe: UnionClass.obj
- $(CPP) $(OFLAG)UnionClass.exe UnionClass.obj
-
- SuperVar.exe: SuperVar.obj
- $(CPP) $(OFLAG)SuperVar.exe SuperVar.obj
-
- MemTest.exe: MemTest.obj Mem.obj
- $(CPP) $(OFLAG)MemTest.exe MemTest.obj Mem.obj
-
-
- Def.obj: Def.cpp
- Use.obj: Use.cpp
- Stash3.obj: Stash3.cpp Stash3.h
- Stash3Test.obj: Stash3Test.cpp Stash3.h ..\require.h
- UnionClass.obj: UnionClass.cpp
- SuperVar.obj: SuperVar.cpp
- Mem.obj: Mem.cpp Mem.h
- MemTest.obj: MemTest.cpp Mem.h
-
-